import request from '@/utils/request'

// 查询用户支付宝账户列表
export function listUserZfbCount(query) {
  return request({
    url: '/userZfbCount/userZfbCount/list',
    method: 'get',
    params: query
  })
}

// 查询用户支付宝账户详细
export function getUserZfbCount(id) {
  return request({
    url: '/userZfbCount/userZfbCount/' + id,
    method: 'get'
  })
}

// 新增用户支付宝账户
export function addUserZfbCount(data) {
  return request({
    url: '/userZfbCount/userZfbCount',
    method: 'post',
    data: data
  })
}

// 修改用户支付宝账户
export function updateUserZfbCount(data) {
  return request({
    url: '/userZfbCount/userZfbCount',
    method: 'put',
    data: data
  })
}

// 删除用户支付宝账户
export function delUserZfbCount(id) {
  return request({
    url: '/userZfbCount/userZfbCount/' + id,
    method: 'delete'
  })
}
